import { ReactNode } from 'react';

import cn from 'classnames';

import cs from './Container.module.scss';

interface Props {
  children: ReactNode;
  small?: boolean;
  className?: string;
}

export const Container = ({ children, small, className }: Props) => (
  <div className={cn(small ? cs.small : cs.container, className)}>{children}</div>
);
